package string;

public class StringStringBuilderDemo {
    public static void main(String[] args) {
        StringBuilder a=new StringBuilder("cnm");
        String b="abc";
        StringBuilder c=new StringBuilder(b);
        System.out.println(c);
        String d=c.toString();
        System.out.println(d);
        a.append("使劲");
        System.out.println(a);
        a.replace(1,2,"you");
        System.out.println(a);
        a.insert(0,"啊但是对我哈");
        System.out.println(a);
    }
}
